package com.memory.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.memory.daomain.Dish;
import com.memory.dto.DishDto;

import java.util.List;

public interface DishService extends IService<Dish> {
    public Boolean saveDishWithFlavor(DishDto dishDto);

    public Boolean delete(Long ids);

    public Boolean updateDishWithFlavor(DishDto dishDto);

    public DishDto getById(Long id);

    public Page<DishDto> getPage(Integer page, Integer pageSize, Dish dish);

    public List<DishDto> list(Dish dish);
}
